projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a5f2289
)
Set the monitor's connector under X11
author
Emmanuele Bassi
<ebassi@gnome.org>
Thu, 20 Jun 2019 15:09:28 +0000
(16:09 +0100)
committer
Emmanuele Bassi
<ebassi@gnome.org>
Mon, 24 Jun 2019 14:38:36 +0000
(15:38 +0100)
Like we do on Wayland.
In this case, we copy it from the same source as the output name,
because it's going to match.
gdk/x11/gdkscreen-x11.c
patch
|
blob
|
history
diff --git
a/gdk/x11/gdkscreen-x11.c
b/gdk/x11/gdkscreen-x11.c
index 294e1c4338f88c452e6f4b1152e0a9392d1217d6..cda654f04ed57ab61a03dd7cabda4a61b8263e89 100644
(file)
--- a/
gdk/x11/gdkscreen-x11.c
+++ b/
gdk/x11/gdkscreen-x11.c
@@
-432,6
+432,7
@@
init_randr15 (GdkX11Screen *x11_screen, gboolean *changed)
gdk_monitor_set_refresh_rate (GDK_MONITOR (monitor), refresh_rate);
gdk_monitor_set_scale_factor (GDK_MONITOR (monitor), x11_screen->surface_scale);
gdk_monitor_set_model (GDK_MONITOR (monitor), name);
+ gdk_monitor_set_connector (GDK_MONITOR (monitor), name);
g_free (name);
if (rr_monitors[i].primary)